package com.qqqq.domain;

import java.sql.Date;

public class Student {
    private Integer id;
    private int stuNumber;
    private String stuName;
    private Integer stuMajorId;
    private Integer stuClassId;
    private Integer sex;
    private Date createTime;
    private Date destroyTime;
    private String password;

    public Student() {
    }

    public Student(Integer id, int stuNumber, String stuName, Integer stuMajorId, Integer stuClassId, Integer sex, String password) {
        this.id = id;
        this.stuNumber = stuNumber;
        this.stuName = stuName;
        this.stuMajorId = stuMajorId;
        this.stuClassId = stuClassId;
        this.sex = sex;
        this.password = password;
    }

    public Student(Integer id, int stuNumber, String stuName, int stuMajorId, int stuClassId, int sex, Date createTime, Date destroyTime, String password) {
        this.id = id;
        this.stuNumber = stuNumber;
        this.stuName = stuName;
        this.stuMajorId = stuMajorId;
        this.stuClassId = stuClassId;
        this.sex = sex;
        this.createTime = createTime;
        this.destroyTime = destroyTime;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getStuNumber() {
        return stuNumber;
    }

    public void setStuNumber(int stuNumber) {
        this.stuNumber = stuNumber;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getStuMajorId() {
        return stuMajorId;
    }

    public void setStuMajorId(Integer stuMajorId) {
        this.stuMajorId = stuMajorId;
    }

    public Integer getStuClassId() {
        return stuClassId;
    }

    public void setStuClassId(Integer stuClassId) {
        this.stuClassId = stuClassId;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getDestroyTime() {
        return destroyTime;
    }

    public void setDestroyTime(Date destroyTime) {
        this.destroyTime = destroyTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", stu_number=" + stuNumber +
                ", stu_name='" + stuName + '\'' +
                ", stu_major_id=" + stuMajorId +
                ", stu_class_id=" + stuClassId +
                ", sex=" + sex +
                ", create_time=" + createTime +
                ", destory_time=" + destroyTime +
                ", password='" + password + '\'' +
                '}';
    }
}
